﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp
{
    public partial class Form7 : Form
    {
        public Form7()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 展示第一个窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void fORMToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LoginForm loginForm=new LoginForm();
            loginForm.Show();
        }

        /// <summary>
        /// 展示第二个窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void form2CtrlLToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form2 form2 = new Form2();   
                form2.Show();
        }

        /// <summary>
        /// 退出窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
